//
//  MKApplePayUtils.h
//  Fanmugua
//
//  Created by xiaomk on 2019/12/5.
//  Copyright © 2019 taolang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TLRechargeGoodsModel.h"
NS_ASSUME_NONNULL_BEGIN

@class CGOrderModel,HYProductModel;
@interface MKApplePayUtils : NSObject
MK_INSTANCETYPE
@property (nonatomic, copy) MKVoidBlock completeTransactionBlock;
@property (nonatomic, copy) MKVoidBlock restoreCancelBlock;
- (void)saveLastOrder:(CGOrderModel * __nullable)info;
- (CGOrderModel * __nullable)getLastOrderInfo;
- (void)createOrderWithItem:(TLRechargeGoodsModel *)itemInfo novelId:(NSNumber *__nullable)novelId videoId:(NSNumber *__nullable)videoId andIsAuto:(BOOL)isAuto;
- (void)restorePurchases;
@end

NS_ASSUME_NONNULL_END
